<%@ page import="workforecast.Team" %>


<div class="fieldcontain ${hasErrors(bean: teamInstance, field: 'name', 'error')} ">
	<label for="name">
		<g:message code="team.name.label" default="Name" />
		
	</label>
	<g:textField name="name" value="${teamInstance?.name}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: teamInstance, field: 'businessUnit', 'error')} required">
	<label for="businessUnit">
		<g:message code="team.businessUnit.label" default="Business Unit" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="businessUnit" name="businessUnit.id" from="${workforecast.BusinessUnit.list()}" optionKey="id" optionValue="name" required="" value="${teamInstance?.businessUnit?.id}" class="many-to-one"/>
</div>




